package reflect;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1);
        doSome(2,"a");
        doSome(3,"a","b");
        doSome(5,"a","b","c");
    }

    public static void doSome(int a, String... args){
        System.out.println( args.length);
        System.out.println(Arrays.toString(args));
    }





}
